/**
 * Created by SZ on 2023-01-05.
 */
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const ObjectId = Schema.ObjectId;
//景点表
const PointSchema = new Schema({
  fid: Number,
  //名称
  name: String,
  //图片
  image: String,
  //区域
  area: String,
  //大类
  type1: String,
  //小类
  type2: String,

  //描述
  desc: String,
  //空间位置
  geometry: Object,
    //GIS ID
  
});
const Point = mongoose.model('Point', PointSchema);

module.exports = Point;